<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1, maximum-scale=1,minimum-scale=1, user-scalable=no"
    />
    <title>作业订正</title>
    <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
    <style>
      .msg {
        display: none;
      }
    </style>
  </head>
  <body>
    <div class="box">
      <!-- 保存学员信息的元素div,默认是不显示的 -->
      <div class="msg">.....</div>
      <div class="num">.....</div>
      <div class="times-of-5">.....0</div>
      <div class="times-of-5">.....1</div>
      <div>
        <button class="add" onclick="addMsg()">添加学员</button>
        <button class="show-msg" onclick="showMsg()">显示学员信息</button>
        <button class="add" onclick="calc()">计算两个数的差</button>
        <button class="add" onclick="times5()">点击显示5的倍数</button>
      </div>
    </div>
    <script src="./js/work.js"></script>
  </body>
</html>
